home *** CD-ROM | disk | FTP | other *** search
Wrap
| !SysBeep !Run file. | by P.R.Banks. | created 01/09/1991 | IconSprites <Obey$Dir>.!Sprites Set Alias$@RunType_108 *Run <Obey$Dir>.!Run %%*0 Set File$Type_108 DataVox Set SysBeep$Dir <Obey$Dir> | | This variable should point to your favourite default file | which will be loaded at startup if this is the first time | SysBeep has been run. | If "<SysBeep$Default>"="" Then Set SysBeep$Default "<Obey$Dir>.Default" If "<SysBeep$Channel>"="" Then SetEval SysBeep$Channel 1 If "<SysBeep$Channel2>"="" Then SetEval SysBeep$Channel2 0 | | This variable determines if a 3d icon look is used. | Valid settings are TRUE and FALSE. However any setting other than TRUE | will default to FALSE. | If "<SysBeep$ThreeDee>"="" Then Set SysBeep$ThreeDee TRUE | | Check to see that a System and DataSuite applications have been | seen. | If "<DataSuite$Path>"="" Then Error 256 I need a Datasuite application with DataVox & DataLoad to work. | | Now verify that the right kind of modules are loaded. | RMEnsure DataVox 3.56 RMLoad DataSuite:DataVox RMEnsure DataVox 3.56 Error 0 "I need DataVox v3.56 or later.|M" RMEnsure DataLoad 2.23 RMLoad DataSuite:DataLoad RMEnsure DataLoad 2.23 Error 0 "I need DataLoad v2.23 or later.|M" | | This is to verify which version of the kernel is in use. | Kernel v2.00 requires the IRQUtils module to patch a bug | in its transient callback mechanism. | SetEval SysBeep$Kernel200 0 SetEval SysBeep$IRQUtilsNeeded 0 RMEnsure UtilityModule 2.01 SetEval SysBeep$Kernel200 1 If SysBeep$Kernel200 = 1 Then SetEval SysBeep$IRQUtilsNeeded 1 Unset SysBeep$Kernel200 SetEval SysBeep$IRQPresent 1 If (SysBeep$IRQUtilsNeeded = 1) Then RMEnsure IRQUtils 0.09 SetEval SysBeep$IRQPresent 0 If ((SysBeep$IRQUtilsNeeded = 1) AND (("<System$Path>"="") AND (SysBeep$IRQPresent = 0))) Then Error 256 I need a System application with IRQUtils to work. If SysBeep$IRQUtilsNeeded = 1 Then RMEnsure IRQUtils 0.09 RMload System:Modules.IRQUtils If SysBeep$IRQUtilsNeeded = 1 Then RMEnsure IRQUtils 0.09 Error I require IRQUtils 0.09 or better! Unset SysBeep$IRQPresent Unset SysBeep$IRQUtilsNeeded | | Now lets run the program eh? :-) | |WimpSlot -min 100K -max 100K WimpSlot -min 54K -max 54K |Run <SysBeep$Dir>.UnCmpRnImg %*0 Run <SysBeep$Dir>.!RunImage %*0